From: Antoine Musso Date: Sun, 4 Dec 2005 14:49:26 +0000 (+0000) Subject: unitialized variable X-Git-Tag: 1.6.0~1032 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=aba9fad1a39d62c53acfc717467f0a290efca08d;p=lhc%2Fweb%2Fwiklou.git unitialized variable --- diff --git a/config/index.php b/config/index.php index 2f6b9927f5..21207d5d4b 100644 --- a/config/index.php +++ b/config/index.php @@ -1328,6 +1328,7 @@ function getLanguageList() { $d = opendir( "../languages" ); while( false !== ($f = readdir( $d ) ) ) { + $m = array(); if( preg_match( '/Language([A-Z][a-z_]+)\.php$/', $f, $m ) ) { $code = str_replace( '_', '-', strtolower( $m[1] ) ); if( isset( $wgLanguageNames[$code] ) ) {